<include file="Public/_meta" />

<title>修改密码 - 会员管理 - H-ui.admin v2.3</title>
<meta name="keywords" content="H-ui.admin v2.3,H-ui网站后台模版,后台模版下载,后台管理系统模版,HTML后台模版下载">
<meta name="description" content="H-ui.admin v2.3，是一款由国人开发的轻量级扁平化网站后台模板，完全免费开源的网站后台管理系统模版，适合中小型CMS后台系统。">
</head>
<body>
<article class="page-container">
	<form action="/" method="post" class="form form-horizontal" id="form-change-password">


		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>修改原因：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input name="id" value="{$reason.reason_id}" type="hidden" />
				<textarea name="reason"  class="textarea"   placeholder="请修改为通过银行审核的原因" style="width:300px;">{$reason.content}</textarea>
			</div>
		</div>
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
				<input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;保存&nbsp;&nbsp;">
			</div>
		</div>
	</form>
</article>

<!--_footer 作为公共模版分离出去-->
<include file="Public/_footer" />

<script type="text/javascript">
var index = parent.layer.getFrameIndex(window.name)
$("#form-change-password").submit(function(){
	$(".radius").attr('type','button');
        $.ajax({
          url:'{:U("Index/editCheck")}',
          type:'post',
          data:$('#form-change-password').serialize(),
          dataType:'json',
          success:function(data){
            if(data.ResultCode == '200'){
              layer.msg(data.ResultMessage,{time:1000},function(){
                  parent.window.location.reload()
                  parent.layer.close(index);
              });
            }
            else if(data.ResultCode == '500'){
                layer.msg(data.ResultMessage,{time:1000},function(){

                })
            }
          }
        })
        return false;
	});
</script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>
